<form id="edit-form" class="form-horizontal" style="position:relative;background: #fff" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" id="row" name="data" value='<?php echo json_encode($row);?>' />
                <div class="form-group">
                        <label for="c-course_id" class="control-label col-xs-12 col-sm-2">项目名称:</label>
                        <div class="col-xs-12 col-sm-8" id="div-course_id" >
                            <input type="number" id="c-course_id" name="row[course_id]" value="0" class="form-control" title="course_id" data-rule="integer" placeholder="只能填入整数"  data-tip="项目名称"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-event_time" class="control-label col-xs-12 col-sm-2">事件时间:</label>
                        <div class="col-xs-12 col-sm-8" id="div-event_time" >
                            <input type="text" id="c-event_time" name="row[event_time]" value="{$row.event_time}" class="form-control datetimepicker"  data-use-current="true"  data-date-format="YYYY-MM-DD HH:mm:ss" data-tip="事件时间" data-rule=""  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-week" class="control-label col-xs-12 col-sm-2">周几:</label>
                        <div class="col-xs-12 col-sm-8" id="div-week" >
                            <input type="text" id="c-week" name="row[week]" value="{$row.week}" class="form-control" title="week"  placeholder="" data-rule=""  data-tip="周几"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-student_id" class="control-label col-xs-12 col-sm-2">学员ID:</label>
                        <div class="col-xs-12 col-sm-8" id="div-student_id" >
                            <input type="number" id="c-student_id" name="row[student_id]" value="0" class="form-control" title="student_id" data-rule="integer" placeholder="只能填入整数"  data-tip="学员ID"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-sujectlv_id" class="control-label col-xs-12 col-sm-2">课程:</label>
                        <div class="col-xs-12 col-sm-8" id="div-sujectlv_id" >
                            <input type="number" id="c-sujectlv_id" name="row[sujectlv_id]" value="0" class="form-control" title="sujectlv_id" data-rule="integer" placeholder="只能填入整数"  data-tip="课程"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-class_type" class="control-label col-xs-12 col-sm-2">课程:</label>
                        <div class="col-xs-12 col-sm-8" id="div-class_type" >
                            <input type="number" id="c-class_type" name="row[class_type]" value="{$row.class_type}" class="form-control" title="class_type" data-rule="integer" placeholder="只能填入整数"  data-tip="课程"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-ocation_id" class="control-label col-xs-12 col-sm-2">教室:</label>
                        <div class="col-xs-12 col-sm-8" id="div-ocation_id" >
                            <input type="number" id="c-ocation_id" name="row[ocation_id]" value="{$row.ocation_id}" class="form-control" title="ocation_id" data-rule="integer" placeholder="只能填入整数"  data-tip="教室"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-teacher_id" class="control-label col-xs-12 col-sm-2">老师ID:</label>
                        <div class="col-xs-12 col-sm-8" id="div-teacher_id" >
                            <input type="number" id="c-teacher_id" name="row[teacher_id]" value="0" class="form-control" title="teacher_id" data-rule="integer" placeholder="只能填入整数"  data-tip="老师ID"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-user_type" class="control-label col-xs-12 col-sm-2">事件对象:</label>
                        <div class="col-xs-12 col-sm-8" id="div-user_type" >
                            <input type="number" id="c-user_type" name="row[user_type]" value="0" class="form-control" title="user_type" data-rule="integer" placeholder="只能填入整数"  data-tip="事件对象"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-manage_id" class="control-label col-xs-12 col-sm-2">教学负责人:</label>
                        <div class="col-xs-12 col-sm-8" id="div-manage_id" >
                            <input type="number" id="c-manage_id" name="row[manage_id]" value="0" class="form-control" title="manage_id" data-rule="integer" placeholder="只能填入整数"  data-tip="教学负责人"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
                        <div class="col-xs-12 col-sm-8" id="div-status" >                    
                            <input id="c-status" name="row[status]" type="hidden" value="{$row.status}">
                            <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-status" data-yes="1" data-no="0">
                                <i class="fa fa-toggle-on text-success fa-flip-horizontal fa-2x"></i>
                            </a>
                            <div data-favisible="switch=1" class="p-3">已开户</div>                        </div>
                   </div>
                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>

